﻿using System.Collections.Generic;
using com.guojin.core.io;
using com.guojin.core.io.message;


namespace com.guojin.mj.net.message.login
{
    public class CreateRoomPageRulesRet: Message
    {
        public static int TYPE = 7 ;
        public static int ID =  57;

        public int[] cardCounts { get; set; }
        public string[] scoreRange { get; set; }

        public void decode(Input _in)
        {
            cardCounts = _in.readIntArray();
            scoreRange = _in.readStringArray();
        }

        public void encode(Output _out)
        {
           
        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return string.Format("");
        }

        public static CreateRoomPageRulesRet create()
        {
            var temp = new CreateRoomPageRulesRet();
            return temp;
        }
    }
}